package com.example.gaoyang.domain.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysRoleElementRequest {
    private Long id;
    private Long roleId;
    private Long elementId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private List<Long> roleIds;
    // 用于批量添加或删除角色系统菜单关系
    private List<Long> elementIds;

    private Integer pageNum;
    private Integer pageSize;
}
